package com.education.basic.service;

import com.education.basic.entity.Teacher;
import com.yunshangwoniu.core.baseService.BaseService;

import java.util.List;

public interface TeacherService extends BaseService<Teacher>
{
    /**
     * 查询所有老师
     * @return
     */
    List<Teacher> queryTeachers();

    /**
     * 通过用户名查询教职工
     * @param username
     * @return
     */
    Teacher getTeacherByUsername(String username);

}
